package com.carbohydrate42.kotlin_compose_demo.page

import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview

@OptIn(ExperimentalMaterial3Api::class)
@Preview(showSystemUi = true, showBackground = true)
@Composable
fun SubPage1() {
    // val scaffoldState = rememberBottomSheetScaffoldState()
    // val scope = rememberCoroutineScope()
    //
    // BottomSheetScaffold(
    //     scaffoldState = scaffoldState,
    //     sheetPeekHeight = 128.dp,
    //     sheetContent = {
    //         Box(
    //             Modifier
    //                 .fillMaxWidth()
    //                 .height(128.dp),
    //             contentAlignment = Alignment.Center
    //         ) {
    //             Text("Swipe up to expand sheet")
    //         }
    //         Column(
    //             Modifier
    //                 .fillMaxWidth()
    //                 .padding(64.dp),
    //             horizontalAlignment = Alignment.CenterHorizontally
    //         ) {
    //             Text("Sheet content")
    //             Spacer(Modifier.height(20.dp))
    //             Button(
    //                 onClick = {
    //                     scope.launch { scaffoldState.bottomSheetState.partialExpand() }
    //                 }
    //             ) {
    //                 Text("Click to collapse sheet")
    //             }
    //         }
    //     }
    // ) { innerPadding ->
    //
    //     Box(modifier = Modifier.padding(innerPadding)) {
    //         Text(text = "SubPage1")
    //     }
    // }

}